package subraSoft.fenix.gui.reparaciones.modificacion;

import subraSoft.centaurus.gui.option.CenChooser;
import subraSoft.centaurus.gui.option.CenChooserController;
import subraSoft.centaurus.gui.option.CenFinder;
import subraSoft.centaurus.model.cobj.CenDefaultCObj;
import subraSoft.fenix.model.cliente.cobj.FenClienteCObj;

public class FenClienteChooserController extends CenChooserController
{

	@Override
	protected CenChooser getChooser() {
		return new FenClienteChooser();
	}

	@Override
	protected CenFinder getFinder() {
		return new FenClienteFinder();
	}

	@Override
	public String getTitle() {
		return "Buscar Cliente";
	}

	@Override
	public String getShowText(CenDefaultCObj selectedItem)
	{
		FenClienteCObj cli = (FenClienteCObj)selectedItem;
		return cli.getNombre();
	}

}
